main: Make ostree --version output YAML (and add gitrev)
authorColin Walters <walters@verbum.org>
Fri, 17 Feb 2017 15:22:43 +0000 (10:22 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 22 Feb 2017 18:57:18 +0000 (18:57 +0000)
commit09b392675aa7ede9eb108cce478cc491080ac1f0
tree9237f757998eecfe9cf006c6d0a051897c019e60
parent3ec509c89b07efbfc4b4d007327609b6dee77dd3
main: Make ostree --version output YAML (and add gitrev)

I learned today that `docker version` does this and I really like
the idea.  While we have the patient open, also add the gitrev
with code taken from https://github.com/projectatomic/rpm-ostree/pull/584

Closes: #691
Approved by: giuseppe
Makefile.am
configure.ac
src/ostree/ot-main.c
tests/basic-test.sh
tests/ci-install.sh
tests/libtest.sh
tests/test-libarchive.sh